package com.web.controller.schoolManagement;

import com.common.apiresult.CommonResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.*;

/**
 * @author liuxuhuang
 * @date 2023年04月04日 11:37
 * @desc 宿舍财产
 */
@RestController(value = "schoolManagementDormPropertyController")
@Api(value = "dormProperty", tags = "宿舍财产控制器")
@RequestMapping(value = "/schoolManagement/dormProperty")
@Slf4j
public class DormPropertyController {
    @GetMapping
    @ApiOperation(value = "获取宿舍财产信息")
    public CommonResult get() {
        return CommonResult.success();
    }

    @PutMapping
    @ApiOperation(value = "修改宿舍财产信息")
    public CommonResult update() {
        return CommonResult.success();
    }

    @PostMapping
    @ApiOperation(value = "新增宿舍财产信息")
    public CommonResult add() {
        return CommonResult.success();
    }

    @DeleteMapping
    @ApiOperation(value = "删除宿舍财产信息")
    public CommonResult delete() {
        return CommonResult.success();
    }
}
